$(document).ready(function(){
    
});

function save()
{
    $.ajax({
		type: 'POST',
		url: "pelanggan/save",
		data: $("#pelanggan_add").serialize(),
		success: function(result){
			$("#container-sub").html(result);
		}
	});
}

function remove(id)
{
    $.ajax({
		type: 'POST',
		url: "pelanggan/delete",
		data:
        {
            id : id
        },
		success: function(result){
			$("#container-sub").html(result);
		}
	});
}